var FastMembroItemRender = new Class({
	"Extends":js.underas.controller.ListViewItemRender
	,"initialize":function(p_obj){		
		var htmlTmp2 = '<div style="margin-top:10%;height:20px" class="col-xs-2 col-sm-1"><span class="glyphicon glyphicon-menu-left"></span></div>';
		htmlTmp2 += '<div class="col-xs-10 col-sm-11"><h4>'+p_obj.nome.substring(0,18)+'...</h4>';
		htmlTmp2 += '<p class="list-group-item-text">'+p_obj.telefone+' ou '+p_obj.celular+'</p>';		
		//htmlTmp2 += '<p class="list-group-item-text">'+p_obj.dsOrganizacao+'</p>';
		//htmlTmp2 += '<p class="list-group-item-text">dis.:'+p_obj.dtUltimoDiscurso+'</p></div>';		
		this.parent('div',htmlTmp2);		
		this.getEle().addClass("col-xs-12 col-sm-12 col-md-12");
		htmlTmp2 = null;
	}
});


var FastMembro = new Class({
	"Extends":js.underas.container.ModWindow
	,"initialize":function(){		
		this.parent("Lista de Discursantes");
		this.setRevision("$Revision: 143 $");
		this.setSize(4);
		this.mainList = new js.underas.controller.ListView("discursantes");		
		this.mainList.setItemRender("FastMembroItemRender");
		this.setMainList("mainList");
		this.append(this.mainList);
	}
	,"getMembros":function(){
		js.underas.net.RequestManager.addRequest({
	        "url":"membro/membro/getativos"
	        ,"puid":this.getVarModule()
	        ,"onLoad":function(dta){        	
	        	this.getMainList().setDataProvider(dta);
	        }.bind(this)
	    });   
	}
});